package com.cowin.sys.dao;

import com.cowin.base.Mapper;
import com.cowin.sys.model.TmSysUser;
import org.apache.ibatis.annotations.Select;

public interface TmSysUserMapper extends Mapper<TmSysUser> {

    @Select("SELECT * FROM TM_SYS_USER where USERNAME = #{username}")
    TmSysUser findUserByUserName(String username);
}